'use strict';

module.exports = appInfo => {
  const config = exports = {};

  // use for cookie sign key, should change to your own and keep security
  config.keys = appInfo.name + '_1543578500414_956';

  // add your config here
  config.middleware = [];

  config.view = {
    defaultViewEngine:'nunjucks',
    mapping:{
      '.tpl':'nunjucks',
    },
  };
  
  config.news = {
    pageSize: 5,
    serverUrl: 'https://readhub.cn/news',
  };
  
  return config;
};


